//
//  QSHomeItemFlowLayout.m
//  DigitalEconomy_iOS
//
//  Created by Ding on 2020/3/18.
//  Copyright © 2020 DingC. All rights reserved.
//

#import "QSHomeItemFlowLayout.h"

@implementation QSHomeItemFlowLayout
- (void)prepareLayout {
    [super prepareLayout];
    
    self.itemSize = CGSizeMake(kRealValue((kScreenWidth - 20) / 4) , kRealValue(100));
    
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    
    self.minimumLineSpacing = kRealValue(0);
    self.minimumInteritemSpacing = kRealValue(0);

    self.collectionView.contentInset = UIEdgeInsetsMake(0.5,0,0,0);
}
@end
